Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Serialize current video frame into a poster on the <video> #794

Merged
merged 5 commits into from
Feb 25, 2022

Conversation

Robdel12
Copy link
Contributor

@Robdel12 Robdel12 commented Feb 24, 2022

What is this?

Capturing videos via request interception can be tricky and highly depends on the customers server that's serving the video. Percy's infrastructure will also not play videos for screenshots so it doesn't make too much sense to capture & store large resources like videos.

This feature will capture the current frame of the videos on page and turn them into a poster image for the video. This is so there's something to display on the <video> element when capturing a screenshot in Percy's browsers.

It's possible for this to introduce flakes since this will capture the current frame of the video. If the video is playing when percySnapshot is called, we're going to capture different states of the video. In these cases the customer should provide their own poster, which will result in the most stable screenshots anyways.

Will close #774

TODO

Capturing videos via request interception can be tricky and highly depends on
the customers server. Percy's infrastructure will also not play videos for
screenshots so it doesn't make too much sense to capture large resources like
vidoes.

This feature will capture the current frame of the videos on page and turn them
into a poster image for the video. This is so there's something to display on
the `<video>` element when capturing a screenshot in Percy's browsers.

It's possible for this to introduce flakes since this will capture the current
frame of the video. If the video is playing when `percySnapshot` is called,
we're going to capture different states of the video. In these cases the
custoemr should provide their own `poster`, which will result in the most stable
screenshots anyways.
@Robdel12 Robdel12 added the ✨ enhancement New feature or request label Feb 24, 2022
@Robdel12 Robdel12 force-pushed the rd/serialize-video-poster branch 8 times, most recently from 5e2e8bc to ed1e093 Compare February 24, 2022 21:42
Turns out firefox on ubuntu can't play mpeg videos due to licensing. Swapping to
a webm video makes the tests pass in CI

> Note: Firefox doesn't include MPEG decoding (it's patented), so if that isn't
already in your distribution, you might need to install additional software. Not
sure if there are useful links here or whether a Linux user will need to jump
in: Fix common audio and video issues.

https://support.mozilla.org/en-US/questions/1227605#answer-1138231
@Robdel12 Robdel12 force-pushed the rd/serialize-video-poster branch from ed1e093 to ed01402 Compare February 24, 2022 21:48
@Robdel12 Robdel12 requested a review from wwilsman February 24, 2022 21:48
Copy link
Contributor

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two suggestions

packages/dom/src/serialize-video.js Outdated Show resolved Hide resolved
packages/dom/test/serialize-videos.test.js Outdated Show resolved Hide resolved
packages/dom/test/serialize-videos.test.js Outdated Show resolved Hide resolved
@Robdel12 Robdel12 force-pushed the rd/serialize-video-poster branch from 265d606 to 77e7180 Compare February 24, 2022 22:07
@Robdel12 Robdel12 requested a review from wwilsman February 24, 2022 22:07
Copy link
Contributor

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎮

@Robdel12 Robdel12 merged commit 9885e8a into master Feb 25, 2022
@Robdel12 Robdel12 deleted the rd/serialize-video-poster branch February 25, 2022 19:18
bors referenced this pull request in rust-lang/crates.io Feb 28, 2022
Update dependency @percy/cli to v1.0.0-beta.76

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [`@percy/cli](https://github.com/percy/cli)` | [`1.0.0-beta.75` -> `1.0.0-beta.76`](https://renovatebot.com/diffs/npm/`@percy%2fcli/1.0.0-beta.75/1.0.0-beta.76)` | [![age](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/age-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![adoption](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![passing](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/compatibility-slim/1.0.0-beta.75)](https://docs.renovatebot.com/merge-confidence/)` | [![confidence](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/confidence-slim/1.0.0-beta.75)](https://docs.renovatebot.com/merge-confidence/)` |

---

### Release Notes

<details>
<summary>percy/cli</summary>

### [`v1.0.0-beta.76`](https://github.com/percy/cli/releases/v1.0.0-beta.76)

[Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### ✨ Enhancements

-   ♻️ Core server improvements by [`@&#8203;wwilsman](https://github.com/wwilsman)` in [https://github.com/percy/cli/pull/781](https://github.com/percy/cli/pull/781)
-   ✨ Automatically handle json bodies in client request util by [`@&#8203;wwilsman](https://github.com/wwilsman)` in [https://github.com/percy/cli/pull/780](https://github.com/percy/cli/pull/780)
-   ✨ Serialize current video frame into a `poster` on the `<video>` by [`@&#8203;Robdel12](https://github.com/Robdel12)` in [https://github.com/percy/cli/pull/794](https://github.com/percy/cli/pull/794)

#### 🐛 Bug Fixes

-   🐛 Add percy config mapping for cli-exec port flag by [`@&#8203;wwilsman](https://github.com/wwilsman)` in [https://github.com/percy/cli/pull/793](https://github.com/percy/cli/pull/793)

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump ws from 8.4.2 to 8.5.0 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/775](https://github.com/percy/cli/pull/775)
-   ⬆️ Bump karma from 6.3.15 to 6.3.16 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/777](https://github.com/percy/cli/pull/777)
-   ⬆️ Bump [`@&#8203;babel/core](https://github.com/babel/core)` from 7.17.0 to 7.17.2 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/776](https://github.com/percy/cli/pull/776)
-   ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/778](https://github.com/percy/cli/pull/778)
-   ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/779](https://github.com/percy/cli/pull/779)
-   ⬆️ Bump [`@&#8203;babel/cli](https://github.com/babel/cli)` from 7.17.0 to 7.17.3 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/789](https://github.com/percy/cli/pull/789)
-   ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [`@&#8203;dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/788](https://github.com/percy/cli/pull/788)

**Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76

</details>

---

### Configuration

📅 **Schedule**: "before 3am on Monday" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
kodiakhq bot referenced this pull request in carbon-design-system/carbon-for-ibm-dotcom-nextjs-test Apr 28, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@percy/dom](https://github.com/percy/cli) | [`1.0.0-beta.74` -> `1.1.0`](https://renovatebot.com/diffs/npm/@percy%2fdom/1.0.0-beta.74/1.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/compatibility-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/confidence-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>percy/cli</summary>

### [`v1.1.0`](https://github.com/percy/cli/releases/v1.1.0)

[Compare Source](https://github.com/percy/cli/compare/v1.0.8...v1.1.0)

#### What's Changed

##### ✨ Enhancements

-   ✨ Update asset discovery browser to Chromium v96.0.4664.0 by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/896](https://github.com/percy/cli/pull/896)

##### 🐛 Bug Fixes

-   🐛 Fix Chrome Revision script by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/895](https://github.com/percy/cli/pull/895)

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump jasmine from 4.0.2 to 4.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/891](https://github.com/percy/cli/pull/891)
-   ⬆️ Bump karma from 6.3.17 to 6.3.18 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/888](https://github.com/percy/cli/pull/888)
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) from 21.0.3 to 21.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/889](https://github.com/percy/cli/pull/889)
-   ⬆️ Bump [@&#8203;rollup/plugin-node-resolve](https://github.com/rollup/plugin-node-resolve) from 13.1.3 to 13.2.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/890](https://github.com/percy/cli/pull/890)
-   ⬆️ Bump rollup from 2.70.1 to 2.70.2 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/892](https://github.com/percy/cli/pull/892)
-   ⬆️ Bump karma-jasmine from 4.0.2 to 5.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/887](https://github.com/percy/cli/pull/887)
-   ⬆️ Bump yaml from 2.0.0 to 2.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/893](https://github.com/percy/cli/pull/893)

**Full Changelog**: percy/cli@v1.0.8...v1.1.0

### [`v1.0.8`](https://github.com/percy/cli/releases/v1.0.8)

[Compare Source](https://github.com/percy/cli/compare/v1.0.7...v1.0.8)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Make config normalize skip option behave as expected by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/885](https://github.com/percy/cli/pull/885)

**Full Changelog**: percy/cli@v1.0.7...v1.0.8

### [`v1.0.7`](https://github.com/percy/cli/releases/v1.0.7)

[Compare Source](https://github.com/percy/cli/compare/v1.0.6...v1.0.7)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Check for alternate casing when determining dom snapshot syntax by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/883](https://github.com/percy/cli/pull/883)

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump yaml from 1.10.2 to 2.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/871](https://github.com/percy/cli/pull/871)

**Full Changelog**: percy/cli@v1.0.6...v1.0.7

### [`v1.0.6`](https://github.com/percy/cli/releases/v1.0.6)

[Compare Source](https://github.com/percy/cli/compare/v1.0.5...v1.0.6)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### ✨ Enhancements

-   ✨[@&#8203;percy/config](https://github.com/percy/config) util improvements by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/877](https://github.com/percy/cli/pull/877)
-   ✨ Autoload CLI plugin from the current working directory by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/878](https://github.com/percy/cli/pull/878)

##### 🐛 Bug Fixes

-   🐛 Fix readme generation script by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/868](https://github.com/percy/cli/pull/868)

##### 🏗 Maintenance

-   🔨 Repo script fixups by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/879](https://github.com/percy/cli/pull/879)

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/stale from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/876](https://github.com/percy/cli/pull/876)
-   ⬆️ Bump karma-jasmine from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/873](https://github.com/percy/cli/pull/873)
-   ⬆️👷 Bump actions/download-artifact from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/875](https://github.com/percy/cli/pull/875)
-   ⬆️👷 Bump actions/upload-artifact from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/874](https://github.com/percy/cli/pull/874)
-   ⬆️ Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.17.8 to 7.17.9 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/872](https://github.com/percy/cli/pull/872)
-   ⬆️ Bump eslint-plugin-import from 2.25.4 to 2.26.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/870](https://github.com/percy/cli/pull/870)

**Full Changelog**: percy/cli@v1.0.5...v1.0.6

### [`v1.0.5`](https://github.com/percy/cli/releases/v1.0.5)

[Compare Source](https://github.com/percy/cli/compare/v1.0.4...v1.0.5)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Core snapshot validation bug fixes by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/866](https://github.com/percy/cli/pull/866)

**Full Changelog**: percy/cli@v1.0.4...v1.0.5

### [`v1.0.4`](https://github.com/percy/cli/releases/v1.0.4)

[Compare Source](https://github.com/percy/cli/compare/v1.0.3...v1.0.4)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ More test adjustments by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/865](https://github.com/percy/cli/pull/865)

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump tsd from 0.19.1 to 0.20.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/859](https://github.com/percy/cli/pull/859)
-   ⬆️ Bump ajv from 8.10.0 to 8.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/847](https://github.com/percy/cli/pull/847)
-   ⬆️ Bump minimist from 1.2.5 to 1.2.6 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/844](https://github.com/percy/cli/pull/844)
-   ⬆️ Bump globby from 11.0.4 to 13.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/758](https://github.com/percy/cli/pull/758)

**Full Changelog**: percy/cli@v1.0.3...v1.0.4

### [`v1.0.3`](https://github.com/percy/cli/releases/v1.0.3)

[Compare Source](https://github.com/percy/cli/compare/v1.0.2...v1.0.3)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Audit package file exports by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/863](https://github.com/percy/cli/pull/863)

**Full Changelog**: percy/cli@v1.0.2...v1.0.3

### [`v1.0.2`](https://github.com/percy/cli/releases/v1.0.2)

[Compare Source](https://github.com/percy/cli/compare/v1.0.1...v1.0.2)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ Include all core test helpers in packaged files by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/862](https://github.com/percy/cli/pull/862)

**Full Changelog**: percy/cli@v1.0.1...v1.0.2

### [`v1.0.1`](https://github.com/percy/cli/releases/v1.0.1)

[Compare Source](https://github.com/percy/cli/compare/v1.0.0...v1.0.1)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Remove relative path from package files by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/858](https://github.com/percy/cli/pull/858)

**Full Changelog**: percy/cli@v1.0.0...v1.0.1

### [`v1.0.0`](https://github.com/percy/cli/releases/v1.0.0)

[Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.76...v1.0.0)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 💥 Breaking Changes

-   ♻️ Move packages to ESM by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/852](https://github.com/percy/cli/pull/852)
-   💥 New minimum Node version of 14 to align with currently supported LTS releases

##### ✨ Enhancements

-   ✨ Use default widths instead of throwing an error when missing by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/808](https://github.com/percy/cli/pull/808)
-   ♻️ Improve build failure handling by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/805](https://github.com/percy/cli/pull/805)
-   ✨ Minor [@&#8203;percy/config](https://github.com/percy/config) improvements by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/804](https://github.com/percy/cli/pull/804)
-   ✨ Accept alternate core snapshot syntaxes by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/809](https://github.com/percy/cli/pull/809)
-   ✨ Introduce the ability to abort requests from specificed hostnames (`disallowedHostnames`) by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/823](https://github.com/percy/cli/pull/823)
-   ♻️ Update package exports and refactor test helpers by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/830](https://github.com/percy/cli/pull/830)
-   ✨ Add sdk-utils waitForPercyIdle helper by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/831](https://github.com/percy/cli/pull/831)
-   ✨ Throw an error when a static server directory does not exist by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/832](https://github.com/percy/cli/pull/832)
-   ✨ Allow alternate snapshot syntaxes to be cancelable by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/833](https://github.com/percy/cli/pull/833)
-   ✨ Allow a function to gather snapshots using alternate syntaxes by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/834](https://github.com/percy/cli/pull/834)
-   ✨ Automatically include package information with CLI commands by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/850](https://github.com/percy/cli/pull/850)

##### 🐛 Bug Fixes

-   🐛 Fix core snapshot method compatibility with cli-snapshot command by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/818](https://github.com/percy/cli/pull/818)
-   🐛 Insert serialized CSSOM `style` tag after CSSOM `ownerNode` by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/843](https://github.com/percy/cli/pull/843)
-   🐛 Fix duplicate resource URL issues with `snapshot` method by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/849](https://github.com/percy/cli/pull/849)
-   🐛 Wrap `serializeVideos` in try/catch to catch security errors by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/848](https://github.com/percy/cli/pull/848)
-   🐛 Fix supressed validation error causing options to not be scrubbed by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/853](https://github.com/percy/cli/pull/853)

##### 🏗 Maintenance

-   ✅ Update install unit tests to use mock filesystem by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/807](https://github.com/percy/cli/pull/807)
-   ♻️ Move browser timeout default to other launch option defaults by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/806](https://github.com/percy/cli/pull/806)
-   ♻️ Update cli-snapshot command to use new core snapshot syntaxes by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/819](https://github.com/percy/cli/pull/819)

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/setup-node from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/799](https://github.com/percy/cli/pull/799)
-   ⬆️ Bump [@&#8203;rollup/plugin-babel](https://github.com/rollup/plugin-babel) from 5.3.0 to 5.3.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/797](https://github.com/percy/cli/pull/797)
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) from 21.0.1 to 21.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/798](https://github.com/percy/cli/pull/798)
-   ⬆️ Bump karma from 6.3.16 to 6.3.17 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/800](https://github.com/percy/cli/pull/800)
-   ⬆️ Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.17.2 to 7.17.5 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/787](https://github.com/percy/cli/pull/787)
-   ⬆️ Bump [@&#8203;babel/cli](https://github.com/babel/cli) from 7.17.3 to 7.17.6 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/801](https://github.com/percy/cli/pull/801)
-   ⬆️👷 Bump actions/checkout from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/813](https://github.com/percy/cli/pull/813)
-   ⬆️ Bump rollup from 2.67.3 to 2.70.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/811](https://github.com/percy/cli/pull/811)
-   ⬆️ Bump ajv from 8.9.0 to 8.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/764](https://github.com/percy/cli/pull/764)
-   ⬆️ Bump karma-chrome-launcher from 3.1.0 to 3.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/827](https://github.com/percy/cli/pull/827)
-   ⬆️ Bump rollup from 2.70.0 to 2.70.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/826](https://github.com/percy/cli/pull/826)
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/825](https://github.com/percy/cli/pull/825)
-   ⬆️👷 Bump actions/cache from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/838](https://github.com/percy/cli/pull/838)
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/837](https://github.com/percy/cli/pull/837)
-   ⬆️ Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.17.5 to 7.17.8 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/835](https://github.com/percy/cli/pull/835)
-   ⬆️ Bump [@&#8203;babel/register](https://github.com/babel/register) from 7.17.0 to 7.17.7 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/836](https://github.com/percy/cli/pull/836)
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) from 21.0.2 to 21.0.3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/846](https://github.com/percy/cli/pull/846)

**Full Changelog**: percy/cli@v1.0.0-beta.76...v1.0.0

### [`v1.0.0-beta.76`](https://github.com/percy/cli/releases/v1.0.0-beta.76)

[Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### ✨ Enhancements

-   ♻️ Core server improvements by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/781](https://github.com/percy/cli/pull/781)
-   ✨ Automatically handle json bodies in client request util by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/780](https://github.com/percy/cli/pull/780)
-   ✨ Serialize current video frame into a `poster` on the `<video>` by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/794](https://github.com/percy/cli/pull/794)

#### 🐛 Bug Fixes

-   🐛 Add percy config mapping for cli-exec port flag by [@&#8203;wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/793](https://github.com/percy/cli/pull/793)

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump ws from 8.4.2 to 8.5.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/775](https://github.com/percy/cli/pull/775)
-   ⬆️ Bump karma from 6.3.15 to 6.3.16 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/777](https://github.com/percy/cli/pull/777)
-   ⬆️ Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.17.0 to 7.17.2 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/776](https://github.com/percy/cli/pull/776)
-   ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/778](https://github.com/percy/cli/pull/778)
-   ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/779](https://github.com/percy/cli/pull/779)
-   ⬆️ Bump [@&#8203;babel/cli](https://github.com/babel/cli) from 7.17.0 to 7.17.3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/789](https://github.com/percy/cli/pull/789)
-   ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/788](https://github.com/percy/cli/pull/788)

**Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76

### [`v1.0.0-beta.75`](https://github.com/percy/cli/releases/v1.0.0-beta.75)

[Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.74...v1.0.0-beta.75)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### 🐛 Bug Fixes

-   🐛 Update `bin/run` to not use an esm dynamic import by [@&#8203;Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/769](https://github.com/percy/cli/pull/769)

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump image-size from 1.0.0 to 1.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/731](https://github.com/percy/cli/pull/731)
-   ⬆️ Bump karma from 6.3.10 to 6.3.12 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/741](https://github.com/percy/cli/pull/741)
-   ⬆️ Bump node-fetch from 2.6.1 to 2.6.7 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/740](https://github.com/percy/cli/pull/740)
-   ⬆️ Bump [@&#8203;babel/preset-env](https://github.com/babel/preset-env) from 7.16.8 to 7.16.11 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/747](https://github.com/percy/cli/pull/747)
-   ⬆️ Bump ajv from 8.8.2 to 8.9.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/749](https://github.com/percy/cli/pull/749)
-   ⬆️ Bump [@&#8203;babel/cli](https://github.com/babel/cli) from 7.16.7 to 7.16.8 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/750](https://github.com/percy/cli/pull/750)
-   ⬆️ Bump jasmine from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/751](https://github.com/percy/cli/pull/751)
-   ⬆️ Bump [@&#8203;babel/register](https://github.com/babel/register) from 7.16.7 to 7.16.9 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/730](https://github.com/percy/cli/pull/730)
-   ⬆️ Bump rollup from 2.63.0 to 2.67.1 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/759](https://github.com/percy/cli/pull/759)
-   ⬆️ Bump karma from 6.3.12 to 6.3.15 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/760](https://github.com/percy/cli/pull/760)
-   ⬆️ Bump trim-off-newlines from 1.0.1 to 1.0.3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/737](https://github.com/percy/cli/pull/737)
-   ⬆️ Bump follow-redirects from 1.13.2 to 1.14.7 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/719](https://github.com/percy/cli/pull/719)
-   ⬆️ Bump [@&#8203;babel/cli](https://github.com/babel/cli) from 7.16.8 to 7.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/763](https://github.com/percy/cli/pull/763)
-   ⬆️ Bump karma-rollup-preprocessor from 7.0.7 to 7.0.8 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/762](https://github.com/percy/cli/pull/762)
-   ⬆️ Bump nock from 13.2.2 to 13.2.4 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/761](https://github.com/percy/cli/pull/761)
-   ⬆️ Bump [@&#8203;babel/register](https://github.com/babel/register) from 7.16.9 to 7.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/766](https://github.com/percy/cli/pull/766)
-   ⬆️ Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.16.7 to 7.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/765](https://github.com/percy/cli/pull/765)
-   ⬆️ Bump [@&#8203;babel/eslint-parser](https://github.com/babel/eslint-parser) from 7.16.5 to 7.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/767](https://github.com/percy/cli/pull/767)

**Full Changelog**: percy/cli@v1.0.0-beta.74...v1.0.0-beta.75

</details>

---

### Configuration

📅 **Schedule**: "every weekend" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom-nextjs-test).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capture first frame of videos
2 participants